package com.whately.core.base.keygen;

import lombok.Getter;

/**
 * 每个时间单位内最多产生id数量
 */
@Getter
public enum EnumGeneMaxNumberInTimeUnit {

    max_99(99,"每秒最多产生99个",2),

    max_999(999,"每秒最多产生999个",3),

    max_9999(9999,"每秒最多产生9999个",4),

    max_99999(99999,"每秒最多产生99999个",5),
    ;


    Integer maxNumbers;
    String text;
    int lens;

    private EnumGeneMaxNumberInTimeUnit(int maxNumbers, String text, int lens) {
        this.maxNumbers = maxNumbers;
        this.text = text;
        this.lens = lens;
    }

}
